
<div class="grid_8 p-20">
    <form id="ause_frm" name="ause_frm" action="{{"admincp/excution"|base_url}}" method="POST" 
          onsubmit="return false;" 
          target="integration_asynchronous" autocomplete="off" 
          >
        <!--      title      -->
        <div class="p-r p-b-12">
            <p>Name</p>
            <div class="p-r">
                <input 
                    type="text"
                    class="w-320 b-g-c-w validate[required]" 
                    value="{{$user->ause_name|default:''}}" 
                    minlength="10"
                    maxlength="120" 
                    id="ause_name" name="ause_name"
                    />
                <input 
                    type="hidden" 
                    value="{{$user->ause_id|default:''}}" 
                    id="ause_id" name="ause_id"
                    />
            </div>
        </div>
        <div class="clear"></div>
        <!--      alias      -->
        
        <div class="p-r p-b-12">
            <p><label class="d-p-b w-i" for="ause_username">Username</label></p>
            <div class="p-r">
                <input 
                    type="text" 
                    class="w-i b-g-c-w validate[required]" 
                    value="{{$user->ause_username|default:''}}" 
                    minlength="10"
                    maxlength="120" 
                    id="ause_username" name="ause_username"
                    />
            </div>
        </div>
        <div class="clear"></div>
        
        <div class="p-r p-b-12">
            <p><label class="d-p-b w-i" for="ause_email">Email</label></p>
            <div class="p-r">
                <input 
                    type="text" 
                    class="w-i b-g-c-w validate[required,custom[email]]" 
                    value="{{$user->ause_email|default:''}}" 
                    minlength="10"
                    maxlength="120" 
                    id="ause_email" name="ause_email"
                    />
            </div>
        </div>
        <div class="clear"></div>
        
        <div class="p-r p-b-12">
            <p><label class="d-p-b w-i" for="ause_password">Password</label></p>
            <div class="p-r">
                <input 
                    type="text" disabled="1"
                    class="w-i b-g-c-w" 
                    value="{{if not isset($user)}}{{random_string('alnum', rand(4, 8)*2)}}{{/if}}" 
                    minlength="10"
                    maxlength="120" 
                    id="ause_password" name="ause_password"
                    />
                <span class="p-a t-4 r-4  l-h-16 c-s-p a t-d-n" onclick="randomString()">&efDot;&circlearrowleft;</span>
            </div>
        </div>
        <div class="clear"></div>
        
        <div class="p-r p-b-12">
            <p><label class="d-p-b w-i" for="ause_key">Salt</label></p>
            <div class="p-r">
                <input 
                    type="text" disabled="1"
                    class="w-i b-g-c-w validate[required]" 
                    value="{{$user->ause_key|default:''}}" 
                    minlength="10"
                    maxlength="120" 
                    id="ause_key" name="ause_key"
                    />
            </div>
        </div>
        <div class="clear"></div>
        
        <div class="p-r p-b-12 f-l">
            <div class="f-l grid_4">
                <!--      birth      -->
                <div class="p-r-2">
                    <div class="p-r">
                        <p><label class="d-p-b w-i" for="ause_position">Position</label></p>
                        <input 
                            type="text" data-putto="#gr-err-1" 
                            class="w-i b-g-c-w validate[min[0],max[100]]" 
                            value="{{$user->ause_position|default:0}}" 
                            minlength="7" min="0" max="100"
                            maxlength="20" 
                            id="ause_position" name="ause_position"
                            />
                    </div>
                </div>
            </div>
            <div class="f-l grid_4">
                <!--      year      -->
                <div class="p-l-2">
                    <div class="p-r">
                        <p><label class="d-p-b w-i" for="ause_status">Status</label></p>
                        <div class="p-r">
                            <select id="ause_status" name="ause_status" class="w-i dotum">
                                <option {{if $user->ause_status|default:'false'=='false'}}selected='1'{{/if}} value="false">Private</option>
                                <option {{if $user->ause_status|default:'false'=='true'}}selected='1'{{/if}} value="true">Public</option>
                            </select>
                        </div>
                    </div>
                </div>
            </div>
            <div class="clear"></div>
            <p id="gr-err-1" class="erb"></p>
        </div>
        <div class="clear"></div>
        <div class="p-r dotum">
            <div id="step-3-back" onclick="menu.Cancel()" class="b-t-c g-d-w f-l m-r-8">Cancel</div>
            <div id="step-3-next" onclick="menu.Save()" class="b-t-c g-d-w f-r">Save</div>
            <div class="clear"></div>
        </div>
    </form>
    <div class="clear"></div>
</div>